package com.uflower.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 收货地址
 * 
 * @author bridge
 * @email bridgezrq@163.com
 * @date 2022-01-15 14:57:31
 */
@Data
@TableName("uf_receive_address")
public class ReceiveAddressEntity implements Serializable {
	private static final long serialVersionUID = 4L;

	/**
	 * 编号
	 */
	@TableId
	private Long id;
	/**
	 * 用户编号
	 */
	private Long uid;
	/**
	 * 收货人姓名
	 */
	private String name;
	/**
	 * 电话
	 */
	private String phone;
	/**
	 * 邮政编码
	 */
	private String postCode;
	/**
	 * 省份/直辖市
	 */
	private String province;
	/**
	 * 城市
	 */
	private String city;
	/**
	 * 区
	 */
	private String region;
	/**
	 * 详细地址(街道)
	 */
	private String detailAddress;
	/**
	 * 是否默认
	 */
	private Integer defaultStatus;

	public ReceiveAddressEntity() {
	}

	public ReceiveAddressEntity(Long uid, String name, String phone, String province, String city, String region, String detailAddress) {
		this.uid = uid;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.region = region;
		this.detailAddress = detailAddress;
	}
}
